<%@ page import="aca.Feedback" %>



<div class="fieldcontain ${hasErrors(bean: feedbackInstance, field: 'aluno', 'error')} required">
	<label for="aluno">
		<g:message code="feedback.aluno.label" default="Aluno" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="aluno" name="aluno.id" from="${aca.Aluno.list()}" optionKey="id" required="" value="${feedbackInstance?.aluno?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: feedbackInstance, field: 'comentario', 'error')} ">
	<label for="comentario">
		<g:message code="feedback.comentario.label" default="Comentario" />
		
	</label>
	<g:textField name="comentario" value="${feedbackInstance?.comentario}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: feedbackInstance, field: 'monitor', 'error')} required">
	<label for="monitor">
		<g:message code="feedback.monitor.label" default="Monitor" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="monitor" name="monitor.id" from="${aca.Monitor.list()}" optionKey="id" required="" value="${feedbackInstance?.monitor?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: feedbackInstance, field: 'nota', 'error')} required">
	<label for="nota">
		<g:message code="feedback.nota.label" default="Nota" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="nota" value="${fieldValue(bean: feedbackInstance, field: 'nota')}" required=""/>
</div>

